package cn.nacos.naocses.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @author JavaLyl
 * @version V1.0.0
 * @ClassName TestService.java
 * @Description TODO
 * @createTime 2021-08-12 14:09:00
 */
@Service
public class TestService {
    @SentinelResource(value = "sysHello")
    public String sayHello(String name) {
        return "Hello, " + name;
    }
}
